package team.seekers.hula.teamwork.teamTodo.entity.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 新增团队待办
 * @author hbc
 * @since 2023-01-05
 */

@Data
public class TeamTodoAddDTO {

    @ApiModelProperty(value = "团队待办的团队id")
    private String teamId;

    @ApiModelProperty(value = "团队待办的团队id")
    private String title;

    @ApiModelProperty(value = "团队待办截止时间")
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date gmtEnd;

    @ApiModelProperty(value = "团队待办负责人信息")
    private TeamTodoParticipantAddDTO monitor;

    @ApiModelProperty(value = "团队待办共创者信息集合")
    private List<TeamTodoParticipantAddDTO> participants;

}
